Dreitier\Nadi\Vendor\Twig\Parser B

Total Complexity 77
Dependencies 24
Dependents 4
Total lines 382
Lines of code 242
Logical lines of code 143
Comment lines 16
Methods 31
Properties 13

Methods 31

Method Rating Maintainability Complexity Lines of code
subparse()
B
39 16 62
filterBodyNodes()
B
47 18 30
parse()
A
45 9 40
setParent()
S
64 3 9
addImportedSymbol()
S
65 3 7
hasInheritance()
S
78 2 3
setBlock()
S
68 2 6
embedTemplate()
S
76 1 4
getCurrentToken()
S
81 1 3
getStream()
S
82 1 3
getParent()
S
75 1 4
getExpressionParser()
S
82 1 3
popLocalScope()
S
81 1 3
pushLocalScope()
S
80 1 3
isMainScope()
S
79 1 3
getImportedSymbol()
S
76 1 3
__construct()
S
91 1 2
hasTraits()
S
74 1 4
addTrait()
S
80 1 3
getEnvironment()
S
82 1 3
hasMacro()
S
74 1 4
getBlock()
S
74 1 4
hasBlock()
S
74 1 4
pushBlockStack()
S
80 1 3
popBlockStack()
S
81 1 3
peekBlockStack()
S
78 1 3
getBlockStack()
S
75 1 4
subparseIgnoreUnknownTwigCallables()
S
66 1 9
shouldIgnoreUnknownTwigCallables()
S
82 1 3
getVarName()
S
74 1 4
setMacro()
S
80 1 3